package com.qixin.web.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 微信 我的收藏
 * </p>
 *
 * @author 张子艺
 * @since 2018-10-31
 */
@TableName("we_collection")
public class WeCollection extends Model<WeCollection> {

    private static final long serialVersionUID = 1L;

	private Long id;
	private String lat;
	private String lng;
    /**
     * 充电桩地址
     */
	private String address;
    /**
     * 简洁地址
     */
	@TableField("simple_address")
	private String simpleAddress;
   /**
     *  收藏用户
     */
	@TableField("user_id")
	private String userId;
   /**
     * 收藏充电站地址
     */
	@TableField("charge_id")
	private String chargeId;
   /**
     * 预览图片
     */
	@TableField("image_url")
	private String imageUrl;

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getChargeId() {
		return chargeId;
	}

	public void setChargeId(String chargeId) {
		this.chargeId = chargeId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLat() {
		return lat;
	}

	public void setLat(String lat) {
		this.lat = lat;
	}

	public String getLng() {
		return lng;
	}

	public void setLng(String lng) {
		this.lng = lng;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getSimpleAddress() {
		return simpleAddress;
	}

	public void setSimpleAddress(String simpleAddress) {
		this.simpleAddress = simpleAddress;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "WeCollection{" +
			"id=" + id +
			", lat=" + lat +
			", lng=" + lng +
			", address=" + address +
			", simpleAddress=" + simpleAddress +
			"}";
	}
}
